home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / nano / sh.nanorc < prev    next >
Encoding:
Text File  |  2010-04-15  |  691 b   |  15 lines

  1. ## Here is an example for Bourne shell scripts.
  2. ##
  3. syntax "sh" "\.sh$"
  4. header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"
  5. icolor brightgreen "^[0-9A-Z_]+\(\)"
  6. color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
  7. color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
  8. color green "-[Ldefgruwx]\>"
  9. color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
  10. color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
  11. icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
  12. color cyan "(^|[[:space:]])#.*$"
  13. color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
  14. color ,green "[[:space:]]+$"
  15.